package provider

import (
	"time"
	"github.com/kingwrcy/devNews/model"
)

const JueJinSource = "JueJin"
const MaNong = "maNong"
const TouTiao = "touTiao"

type NewsProvider interface {
	Schedule() time.Duration
	GetData(time time.Time) []model.News
	Name() string
}
